-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Add rustc_on_unimplemented
to Sum
and Product
trait.
#105265
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add rustc_on_unimplemented
to Sum
and Product
trait.
#105265
Conversation
r? @davidtwco (rustbot has picked a reviewer for you, use r? to override) |
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
r? @estebank |
1e49429
to
f13eec1
Compare
You'll have to rebase on a recent master, there is going to be a merge conflict on the first note in the new tests. |
f13eec1
to
5626df9
Compare
Rebased onto latest master. I wounder why RLA didn't triger. |
You created a new test whose output changed since you created it. It wouldn't have been caught until CI caught it during rollup. I just knew about it because I caused the change :) |
@bors r+ |
🌲 The tree is currently closed for pull requests below priority 10. This pull request will be tested once the tree is reopened. |
…lemented, r=estebank Add `rustc_on_unimplemented` to `Sum` and `Product` trait. Helps with rust-lang#105184, but I don't think it fully fixes it.
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#102406 (Make `missing_copy_implementations` more cautious) - rust-lang#105265 (Add `rustc_on_unimplemented` to `Sum` and `Product` trait.) - rust-lang#105385 (Skip test on s390x as LLD does not support the platform) - rust-lang#105453 (Make `VecDeque::from_iter` O(1) from `vec(_deque)::IntoIter`) - rust-lang#105468 (Mangle "main" as "__main_void" on wasm32-wasi) - rust-lang#105480 (rustdoc: remove no-op mobile CSS `#sidebar-toggle { text-align }`) - rust-lang#105489 (Fix typo in apple_base.rs) - rust-lang#105504 (rustdoc: make stability badge CSS more consistent) - rust-lang#105506 (Tweak `rustc_must_implement_one_of` diagnostic output) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Helps with #105184, but I don't think it fully fixes it.